// index.js
// 获取应用实例
const app = getApp()

Page({
  data: {
    btnList: [
      {
        id: 0,
        title: '咖啡厅',
        content: '购买咖啡',
        image: '../../static/home/img_goods1.png',
        width: 263,
        height: 178
      },
      {
        id: 1,
        title: 'logo平台',
        content: '创造与购买艺术',
        image: '../../static/home/img_kfb.png',
        width: 115,
        height: 163
      }
    ],
    swiperList: [
      {
        id: 0,
        image_url: 'https://img1.baidu.com/it/u=2929409555,4092019837&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800'
      },
      {
        id: 0,
        image_url: 'https://img1.baidu.com/it/u=2929409555,4092019837&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800'
      }
    ]

  },

  onLoad() {

  },

  clickCup() {

  },

  toMain(e) {
    const detail = e.currentTarget.dataset.item

  }

})
